﻿import { Button } from 'antd';
// 样式
import styles from './PointPopup.less';
class PointPopup extends React.Component {
  constructor(props) {
    super(props);
    this.state = {};
  }

  componentDidMount() {}

  render() {
    var ps = this.props;
    var s = this.state;
    var d = ps.data;

    return (
      <div className={styles.problemdetail}>
        <div className="tablePanel" style={{ display: 'inline-block' }}>
          <table className="popupTb">
            <tbody>
              <tr>
                <th colSpan="2" className={'th-title'}>
                  信息
                </th>
              </tr>
              <tr>
                <th style={{ width: '20%' }}>问题类型</th>
                <td style={{ width: '50%' }}>{d.cname + ' ' + d.czname}</td>
              </tr>
              <tr>
                <th style={{ width: '20%' }}>问题描述</th>
                <td style={{ width: '50%' }}>{d.wtms}</td>
              </tr>
              <tr>
                <th style={{ width: '20%' }}>处理状态</th>
                <td style={{ width: '50%' }}>{d.cljgms}</td>
              </tr>
              <tr>
                <th>地址</th>
                <td>{d.dz}</td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
    );
  }
}

export default PointPopup;
